<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="css/layout.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery.validate.js"></script>
<script type="text/javascript" src="js/mydate-new.js"></script>
<!--[if ie]><link href="css/ie.css" type="text/css" rel="stylesheet"><![endif]-->
<script type="text/javascript">
		$(function(){
	
			$("#update_psd").validate({
				rules:{
					old_psd:{
						required:true
					},
					new_psd:{
						required:true
					},
					new_again_psd:{
						required:true,
						equalTo:"#new_psd"
					}
				},
				messages:{
					old_psd:{
						required:"原始密码不能为空！"
					},
					new_psd:{
						required:"新密码不能为空！"
					},
					new_again_psd:{
						required:"重新输入密码不能为空",
						equalTo:"两次密码输入不一致，请重新输入！"
					}
				},
				errorPlacement:function(error,element){
					error.appendTo(element.siblings("div.v_validate"));
				}
			});
			
			$.defUnit.popDiv({
				tcID:"tc_psd",
				zzBox:"zz_box",
				isZZ:true		
			});
			
		
	});
</script>
</head>

<body>
	<!-- head -->
    <div class="head mg clearfix">
    	<div class="logo">
    		<a href="#"><img src="images/common/logo.png" class="block" /></a>
        </div>
        <div class="head_name">
        	招生考试信息平台
        </div>
    </div>
    <!-- head--end -->
    
    <!-- body -->
    <div class="content">
    	<div class="login_wrap">
        	<div class="login_box clearfix">
            	<img src="images/other/login_1.png" class="block fl" />
                <div class="login">
                	<ul>
                    	<li>
                        	<label class="def_lbl">用户名：</label><input type="text" class="def_txt" />
                        </li>
                        <li>
                       		<label class="def_lbl">密&nbsp;&nbsp;码：</label><input type="text" class="def_txt" />
                        </li>
                        <li>
                        	<input type="button" class="def_btn" value="登&nbsp;&nbsp;录" />
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <!-- body--end-->
    
    <!-- foot -->
    <div class="foot clearfix">
    	<img src="images/common/foot_bg.png" class="block" />
        <p class="foot_info">上海市黄浦区教育信息中心版权所有<br />Copyright&copy;2007<br />建议使用1024*768分辨率浏览<br />沪ICP备05005443</p>
    </div>
    <!-- foot--end-->
    
    <div class="update_psd_box" id="tc_psd" style=" display:none;">
    	<h3>修改密码</h3>
    	<form action="" id="update_psd">
            <ul>
                <li>
                    <label for="old_psd" class="def_lbl">原密码：</label><input type="password" name="old_psd" class="def_txt" /><div class="clear"></div><div class="v_validate"></div>
                </li>
                <li>
                    <label for="new_psd" class="def_lbl">新密码：</label><input type="password" name="new_psd" class="def_txt" id="new_psd" /><div class="clear"></div><div class="v_validate"></div>
                </li>
                <li>
                    <label for="new_again_psd" class="def_lbl">重新输入：</label><input type="password" name="new_again_psd" class="def_txt" /><div class="clear"></div><div class="v_validate"></div>
                </li>
                <li><input type="submit" class="def_btn" value="确&nbsp;&nbsp;定"></li>
            </ul>
        </form>
    </div>
</body>
</html>
